<?php /* Smarty version 2.6.11, created on 2006-08-21 16:33:16
         compiled from grn_entry_form_124.tpl */ ?>

<div id='ban'>Purchase Receipt</div>
<div id='dum'></div>
<div id='wrk'>
<?php echo $this->_tpl_vars['entered_data']; ?>

<hr>
<br>
<form name="<?php echo $this->_tpl_vars['form_name']; ?>
" method="POST">
<table width=100%>
<tr>
	<td>
	<table border=1 align=center width=100%>
		<tr>
		<td width=50%><b>Select Receipt Stage</b></td>
		<!-- <td  width=15%><b>DCs</b></td>
		<td  width=15%><b>GRNs</b></td>
		<td width=20% ><b>Gate Rpts</b></td> -->
		</tr>

		<tr>
		<td width=30%><?php echo $this->_tpl_vars['grn_stage_select']; ?>
</td>
		<!-- <td width=25%><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "select_tag.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
		<td width=25%><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "select_tag.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
		<td width=20%><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "select_tag.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td> -->
		</tr>
	</table>
	</td>
</tr>
<tr>
	<td>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "receipt_commercial.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	</td>
	<td width=50%>
	<table border=1 align=center width=100%>
		<?php $_from = $this->_tpl_vars['gate_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
			<tr>
			<?php $_from = $this->_tpl_vars['item']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['display_label'] => $this->_tpl_vars['display_name']):
?>
				<td ><?php echo $this->_tpl_vars['display_label']; ?>
</td><td><?php echo $this->_tpl_vars['display_name']; ?>
</td>
			<?php endforeach; endif; unset($_from); ?>
			</tr>
		<?php endforeach; endif; unset($_from); ?>
	</table>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "product_detail.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	</td>
	</tr>
	</table>
	</td>
</tr>
<tr>
<td>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "item_list_accessory.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</td>
</tr>
</table>
	<?php if ($this->_tpl_vars['save_button']): ?>
		<div align=center>
			<?php echo $this->_tpl_vars['save_button']; ?>

		</div>
	<?php endif; ?>

</form>